<?xml version="1.0" encoding="utf-8"?>

<EFFECT xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns ="urn:dsfx0">    

  <SAMPLER>
    <NAME>i_source</NAME>
    <SAMPLER_DECLARATION>
      <SAMPLER_TYPE>sampler2D</SAMPLER_TYPE>
      <SAMPLER_OPTION_GRAMMAR></SAMPLER_OPTION_GRAMMAR>
    </SAMPLER_DECLARATION>
  </SAMPLER>

  <STORAGE_IMAGE>
    <NAME>i_dest</NAME>
    <DECLARATION>
      <TYPE>image2D</TYPE>
      <FORMAT>r32f</FORMAT>
      <QUALIFIERS>
        <QUALIFIER>coherent</QUALIFIER>
      </QUALIFIERS>
      <OPTION_GRAMMAR></OPTION_GRAMMAR>
    </DECLARATION>
  </STORAGE_IMAGE>

  <SAMPLER_STATE>
    <NAME>smpPoint</NAME>
    <MAG_FILTER>Nearest</MAG_FILTER>
    <MIN_FILTER>Nearest</MIN_FILTER>
    <MIP_FILTER>None</MIP_FILTER>
    <WRAP_U>ClampToEdge</WRAP_U>
    <WRAP_V>ClampToEdge</WRAP_V>
  </SAMPLER_STATE>
  
  <TECHNIQUE>
    <NAME>Default</NAME>
      <COMPUTE_PASS>
      <NAME>Pass0</NAME>
        <SAMPLER_ASSIGNMENT_LIST>
        <SAMPLER_ASSIGNMENT>
          <SAMPLER>i_source</SAMPLER>
          <STATES>smpPoint</STATES>
        </SAMPLER_ASSIGNMENT>
        </SAMPLER_ASSIGNMENT_LIST>
      <COMPUTE_STAGE>ShadowMaxZMapFromTexture</COMPUTE_STAGE>
    </COMPUTE_PASS>
  </TECHNIQUE>
    
</EFFECT>
